home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 January / ChipCD_1.03.iso / oddech / bsen / BSinstall.exe / BecheruvSen.exe / scripts / DefineButton2_2830 / BUTTONCONDACTION on(release).as
Text File  |  2002-11-01  |  229b  |  17 lines

  1. on(release){
  2.    l5st = 2;
  3.    l5lr = random(2);
  4.    if(l5lr == 0)
  5.    {
  6.       _X = _X - 20;
  7.    }
  8.    else
  9.    {
  10.       _X = _X + 20;
  11.    }
  12.    tellTarget("_root." add this._name add "s")
  13.    {
  14.       gotoAndPlay(2);
  15.    }
  16. }
  17.